package aufgabe_03;

public class Sendung implements Versendbar {

	private String[] empf;
	private String[] abs;
	private int gew;

	public Sendung(String[] an, String[] von, int gewicht) {
		this.empf = an;
		this.abs = von;
		this.gew = gewicht;
	}

	@Override
	public void setEmpfaenger(String[] adresse) {
		this.empf = adresse;

	}

	@Override
	public String[] getEmpfaenger() {

		return this.empf;
	}

	@Override
	public void setAbsender(String[] absender) {
		this.abs = absender;

	}

	@Override
	public String[] getAbsender() {

		return this.abs;
	}

	@Override
	public int getGewicht() {
		// TODO Auto-generated method stub
		return this.gew;
	}

}
